<?php
/**
 * Created by PhpStorm.
 * User: Lzhy ysjywz@gmail.com
 * Date: 2018/7/1
 * Time: 下午2:45
 */

if(!function_exists('gWebUrl')){
    function gWebUrl($do,$query = [])
    {
        return \Core\common\Assist::gWebUrl($do,$query);
    }
}
if(!function_exists('gMobileUrl')){
    function gMobileUrl($do,$query = [])
    {
        return \Core\common\Assist::gMobileUrl($do,$query);
    }
}
if(!function_exists('M')){
    function M($table){
        return \Core\common\Model::table($table);
    }
}

if(!function_exists('I')){
    function I($key,$default = ''){
        return \Core\common\Assist::gpcVal($key,$default);
    }
}